package com.tg.pojo.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author CQCH
 * @Description
 * @Date 2022/3/28
 */
@Data
public class User implements Serializable {

    private Integer id; //用户id

    @Column(name = "user_name")  //用户名
    private String username;

    @Column(name = "pass_word") //登录密码
    private  String password;

    @Column(name = "id_card")  //身份证号码
    private  String idnum;

    @Column(name = "id_type")  //证件类型
    private  String idtype;

    private  String realname;  //真实姓名

    private  String passenger;  //旅客类型

    @Column(name = "mail_box")  //邮箱
    private  String mail;

    private  String phone;  //手机号
}
